home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / ada / ada_met1.zip / PARSE_2B.ADS < prev    next >
Text File  |  1990-06-21  |  3KB  |  57 lines

  1. --***************************************************************--
  2. --                                                               --
  3. --  TITLE:          AN ADA SOFTWARE METRIC                       --
  4. --                                                               --   
  5. --  MODULE NAME:    PACKAGE SPECIFICATION PARSE_2B               --
  6. --  FILE NAME:      PARSE_2B.ADS                                 --
  7. --                                                               --
  8. --  LAST MODIFIED:  02 MAR 90                                    --
  9. --                                                               --
  10. --  DESCRIPTION:  This package contains thirty-three functions   --
  11. --       that are the middle level productions for our top-down, --
  12. --       recursive descent parser.  Each function is preceded    --
  13. --       by the grammar productions they are implementing.       --
  14. --                                                               --  
  15. --  CHANGE LOG:                                                  --
  16. --              - added the check for a semicolon in function    --
  17. --                RECORD_REPRESENTATION_CLAUSE (bug fix).        --
  18. --                                                               --  
  19. --  COPYRIGHT:  The Ada source code in this file is Copyright    --
  20. --              1990 by Source Translation & Optimization. There --
  21. --              are no restrictions to the use of this source    --
  22. --              code in any product or system that is released   --
  23. --              in non-source code form. Resale of this source   --
  24. --              code, without permission of STO, is a violation  --
  25. --              of our Copyright.                                --
  26. --                                                               --
  27. --                                                               --
  28. --  HELP:       For more information contact: Gregory Aharonian  --
  29. --              Source Translation & Optimization, P.O. Box 404  --
  30. --              Belmont, MA, 02178-0404            617-489-3727  --
  31. --***************************************************************--
  32.  
  33. package PARSE_2B is
  34.  
  35.   function GENERIC_ASSOCIATION            return boolean;
  36.   function GENERIC_FORMAL_PARAMETER       return boolean;
  37.   function TYPE_DEFINITION                return boolean;
  38.   function RECORD_TYPE_DEFINITION         return boolean;
  39.   function COMPONENT_LIST                 return boolean;
  40.   function COMPONENT_DECLARATION          return boolean;
  41.   function VARIANT_PART                   return boolean;
  42.   function VARIANT                        return boolean;
  43.   function IDENTIFIER_DECLARATION_TAIL    return boolean;
  44.   function EXCEPTION_TAIL                 return boolean;
  45.   function CONSTANT_TERM                  return boolean;
  46.   function IDENTIFIER_TAIL                return boolean;
  47.   function ASSIGNMENT_OR_PROCEDURE_CALL   return boolean;
  48.   function RECORD_REPRESENTATION_CLAUSE   return boolean;
  49.  
  50. --
  51. -- The following procedures are declared locally in the package body
  52. --
  53. --    function IDENTIFIER_LIST_B return boolean;
  54.  
  55.  
  56. end PARSE_2B;
  57.